package com.flyoil.petromp.entity.entity_course_message;

import com.flyoil.petromp.base.BaseEntity;
import com.flyoil.petromp.entity.entity_order.OrderFilesEntity;
import com.flyoil.petromp.entity.entity_order.OrderSignatureEntity;

import java.util.List;

/**
 * Created by Administrator on 2017/11/27 0027.
 * 物资采购计划单详情的实体类
 */

public class ServiceOrderMessageEntity extends BaseEntity {


    /**
     * data : {"id":0,"serviceRequirementName":"类型: java.lang.String 描述: 需求名称","sn":"类型: java.lang.String 描述: 服务订单编号","username":"类型: java.lang.String 描述: 申请人","userPhone":"类型: java.lang.String 描述: 申请人电话","usedOrg":"类型: java.lang.String 描述: 使用单位","linkman":"类型: java.lang.String 描述: 联系人","linkmanPhone":"类型: java.lang.String 描述: 联系人电话","supplierName":"类型: java.lang.String 描述: 供应商名称","projectManger":"类型: java.lang.String 描述: 项目经理","projectMangerPhone":"类型: java.lang.String 描述: 项目经理电话","createdTimeLabel":"类型: java.lang.String 描述: 订单日期","serviceOrderItems":[{"id":0,"serviceContent":"类型: java.lang.String 描述: 服务内容","specification":"类型: java.lang.String 描述: 执行标准"}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 0
         * serviceRequirementName : 类型: java.lang.String 描述: 需求名称
         * sn : 类型: java.lang.String 描述: 服务订单编号
         * username : 类型: java.lang.String 描述: 申请人
         * userPhone : 类型: java.lang.String 描述: 申请人电话
         * usedOrg : 类型: java.lang.String 描述: 使用单位
         * linkman : 类型: java.lang.String 描述: 联系人
         * linkmanPhone : 类型: java.lang.String 描述: 联系人电话
         * supplierName : 类型: java.lang.String 描述: 供应商名称
         * projectManger : 类型: java.lang.String 描述: 项目经理
         * projectMangerPhone : 类型: java.lang.String 描述: 项目经理电话
         * createdTimeLabel : 类型: java.lang.String 描述: 订单日期
         * serviceOrderItems : [{"id":0,"serviceContent":"类型: java.lang.String 描述: 服务内容","specification":"类型: java.lang.String 描述: 执行标准"}]
         */

        private int id;
        private String serviceRequirementName;
        private String sn;
        private String serviceRequirementSn ;
        private String username;
        private String userPhone;
        private String usedOrg;
        private String linkman;
        private String linkmanPhone;
        private String supplierName;
        private String projectManger;
        private String totalMoneyLabel;
        private String projectMangerPhone;
        private int userId ;
        private String createdTimeLabel;
        private String address;
        private boolean prepay;
        private List<ServiceOrderItemsBean> serviceOrderItems;
        private List<OrderSignatureEntity> confirmLogs;
        private List<OrderFilesEntity> files;
        private String transformStatusLabel;//单据流转状态：流转中、已完成、待撤销、已冻结
        private String confirmStatusLabel;//单据审核状态：待审批,已审批,已驳回待撤销,已撤销


        public String getTotalMoneyLabel() {
            return totalMoneyLabel;
        }

        public void setTotalMoneyLabel(String totalMoneyLabel) {
            this.totalMoneyLabel = totalMoneyLabel;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getConfirmStatusLabel() {
            return confirmStatusLabel;
        }

        public void setConfirmStatusLabel(String confirmStatusLabel) {
            this.confirmStatusLabel = confirmStatusLabel;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getServiceRequirementSn() {
            return serviceRequirementSn;
        }

        public void setServiceRequirementSn(String serviceRequirementSn) {
            this.serviceRequirementSn = serviceRequirementSn;
        }

        public String getTransformStatusLabel() {
            return transformStatusLabel;
        }

        public boolean isPrepay() {
            return prepay;
        }

        public void setPrepay(boolean prepay) {
            this.prepay = prepay;
        }

        public void setTransformStatusLabel(String transformStatusLabel) {
            this.transformStatusLabel = transformStatusLabel;
        }

        public List<OrderSignatureEntity> getConfirmLogs() {
            return confirmLogs;
        }

        public void setConfirmLogs(List<OrderSignatureEntity> confirmLogs) {
            this.confirmLogs = confirmLogs;
        }

        public List<OrderFilesEntity> getFiles() {
            return files;
        }

        public void setFiles(List<OrderFilesEntity> files) {
            this.files = files;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getServiceRequirementName() {
            return serviceRequirementName;
        }

        public void setServiceRequirementName(String serviceRequirementName) {
            this.serviceRequirementName = serviceRequirementName;
        }

        public String getSn() {
            return sn;
        }

        public void setSn(String sn) {
            this.sn = sn;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getUserPhone() {
            return userPhone;
        }

        public void setUserPhone(String userPhone) {
            this.userPhone = userPhone;
        }

        public String getUsedOrg() {
            return usedOrg;
        }

        public void setUsedOrg(String usedOrg) {
            this.usedOrg = usedOrg;
        }

        public String getLinkman() {
            return linkman;
        }

        public void setLinkman(String linkman) {
            this.linkman = linkman;
        }

        public String getLinkmanPhone() {
            return linkmanPhone;
        }

        public void setLinkmanPhone(String linkmanPhone) {
            this.linkmanPhone = linkmanPhone;
        }

        public String getSupplierName() {
            return supplierName;
        }

        public void setSupplierName(String supplierName) {
            this.supplierName = supplierName;
        }

        public String getProjectManger() {
            return projectManger;
        }

        public void setProjectManger(String projectManger) {
            this.projectManger = projectManger;
        }

        public String getProjectMangerPhone() {
            return projectMangerPhone;
        }

        public void setProjectMangerPhone(String projectMangerPhone) {
            this.projectMangerPhone = projectMangerPhone;
        }

        public String getCreatedTimeLabel() {
            return createdTimeLabel;
        }

        public void setCreatedTimeLabel(String createdTimeLabel) {
            this.createdTimeLabel = createdTimeLabel;
        }

        public List<ServiceOrderItemsBean> getServiceOrderItems() {
            return serviceOrderItems;
        }

        public void setServiceOrderItems(List<ServiceOrderItemsBean> serviceOrderItems) {
            this.serviceOrderItems = serviceOrderItems;
        }

        public static class ServiceOrderItemsBean {
            /**
             * id : 0
             * serviceContent : 类型: java.lang.String 描述: 服务内容
             * specification : 类型: java.lang.String 描述: 执行标准
             */

            private int id;
            private String serviceContent;
            private String specification;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getServiceContent() {
                return serviceContent;
            }

            public void setServiceContent(String serviceContent) {
                this.serviceContent = serviceContent;
            }

            public String getSpecification() {
                return specification;
            }

            public void setSpecification(String specification) {
                this.specification = specification;
            }
        }
    }
}
